import React, { Component } from 'react'
import {connect} from 'react-redux'
class ComB extends Component {
    render() {
        console.log(this.props);
        return (
            <div>
                <div>{this.props.count}</div>
            </div>
        )
    }
}
const mapStateToProps = (state) =>{
    console.log('ComB:',state);
    return state
}
export default connect(mapStateToProps)(ComB)